Chapter 2 - What is HDRI?


lakeapopka.jpg

 

1.       Hi, and welcome back! Now what are High Dynamic Range Images (HDRI)? And how does trueSpace use then?

 

2.       Here using the Player real time renderer, a HDRI is being shown. I took this image of a boat dock which may look like any other photograph initially.

 

          a.       I am going to zoom in on this dark area using the Player’s navigational widget. . . There.

 

                    i.        Using Post Processing in Player I am going to increase the scene intensity.

                              (1)     I do this by going to Preferences in the Stack View.

                              (2)     I am going to expand the Stack View so that I can get access to all the controls.

                              (3)     As you probably note that Bloom is already selected in the Player Post Process.

                              (4)     I am going to increase the scene intensity, now watch what happens to the dark area.

                                         (a)     As you probably notice even in the dark area there is detail that was initially hidden but was made visible when I increase the lighting.

                                         (b)     In fact there is very little that can’t be brought out in this scene by this method.

                                         (c)     I wouldn’t be able to do this with a regular image like a JPEG or even a bitmap. The reason being is that this image has a much higher dynamic range then those formats I just mentioned.

 

3.       Lets go ahead and discuss what dynamic range is.

 

          a.       I am going to load a new scene.

 

                    i.        I am going to open up the libraries again in stack view.

                              (1)     and then open up my second scene here.

 

                    ii.       Here are some shaded cubes which represent different brightness areas of a scene.

 

                    iii.      Now the dynamic range of an image is simply a ratio of the brightest part over the darkest or how many times the brightest area is greater then the darkest area.

                              (1)     In this scene it would be the cube on the right luminous value over the black background luminous value.

 

                    iv.      A common JPEG or bitmap image has a dynamic range that cannot exceed roughly 200:1.

                              (1)     even worst, the standard computer monitor can only reproduce a dynamic range of about 100:1

 

                    v.       In everyday experiences the real world exposes us to much higher dynamic ranges.

                              (1)     Ratios of 100,000:1 are common in the natural world.

                                         (a)     For instance a scene showing an interior of a room with a sun lite view outside the window.

 

                    vi.      The human eye can accommodate a dynamic range of approximately 10,000:1 in a single view.

 

                    vii.     There is a need for images that can hold a higher dynamic range then the limited range available in 24bit images. These are referred to as High Dynamic Range Images and are usually stored in several different file formats.

                              (1)     trueSpace can use:

                                         (a)     Radius picture format which are very common, files with the .hdr extension.

                                         (b)     or, the open extended range format released by Industrial Light and Magic with an .exr extension.

 

4.       So once again, what is a High Dynamic Range Image (HDRI)?

 

          a.       A HDRI has a dynamic range that reflects the ranges of real world experience and duplicates the dynamic range of a scene being shot or recorded. This usually means what an average human observer would experience.

 

5.       How are HDRI’s used in trueSpace?

 

          a.       Here loading last scene from the course (this chapter)

 

                    i.        Shows a HDRI being used as a background environment in the player while using the real time renderer.

 

                    ii.       This same HDRI can be used for image based lighting in the modeler.

 

                              (1)     Since HDRI’s store the whole range of real world luminous information or lightness and darkness values that we normally see;

                                         (a)     global illumination calculations in the non real time renderer are used to simulate natural light.

                                         (b)     recreating the same lighting conditions in your own scene when rendered using trueSpace.

 

6.       To capture lighting of an natural environment, all directions are used to reproduce the lighting conditions.

 

          a.       These environmental maps are then used to recreate the light sources from the image in trueSpace.

 

7.       Here a vertical cross HDRI is being viewed in the real time renderer.

 

          a.       Using a course viewing object, which was created in the very powerful Link Editor (LE).

 

                    i.        You can find this object in the resource files (HDRIObj library)

                    ii.       As a note, post processing in the Player is being used to help simulate a higher dynamic range then what your monitor is capable of.

 

8.       Converting from a higher dynamic range such as this Vertical Cross HDRI, to a lower range (lower dynamic range) in the player, is called Tone Mapping.

 

          a.       Tone Mapping,

 

                    i.        Is a process of converting the tonal values of a image from a high range to a lower one.

 

                    ii.       For instance,

                              (1)     A HDRI with a dynamic range of 100,000:1 will be converted to a 24 bit image, with a limited dynamic range of around 200:1.

 

                    iii.      Now you may wonder why someone would want to reduce the tonal range when a HDRI provides much greater richness of details and is closer to the range of human vision then a low dynamic range version?

 

                              (1)     Well the reason is simple

                                         (a)     Standard display devices can only reproduce a range of about 100:1

                                         (b)     and the printed paper even less.

 

                    iv.      So why even bother with HDRI(ing) if it always becomes limited by displaying on a low dynamic range device? (Currently there are several different HDRI devices in development for display with one on the market.)

 

                              (1)     The simple answer is that HDRI’s have more image information, compared to a low dynamic range image.

                                         (a)     Which when finally viewed will (can) give superior image quality

                                         (b)     In addition Tone Mapping can be effective in preserving image information when converting for a low dynamic range display.

                                         (c)     In contrast low dynamic images have scene information missing from the start in capture which cannot be recovered later.

                                                   (i)      In addition processing lower dynamic range images with algorithms, with less initial data precision, leads to other errors (computational errors). Deteriorating final image quality.

                                                   (ii)     Especially using IBL or image base lighting, it would be hard to effectively determine luminous values for light sources in a low dynamic range image to recreate the natural lighting conditions captured.

 

9.       So in essence, we want to correctly reproduce the highlights, reflections and shadows for a high contrast scene for display on your monitor or even print.

 

10.     TrueSpace can accept the following HDRI environmental formats:

 

          a.       Vertical Cross which you seen used already

          b.       Horizontal Cross

          c.       A latitude/longitude map sometimes called a panorama.

          d.       An angular map know as a lightprobe.

          e.       Something that is not shown but similar (to lightprobe), a spherical map

 

11.     So how do I make a HDRI or where can I get them from?

          a.       This course doesn’t cover how to shot a HDRI but relies on already created professional HDRI’s from ::realtexture.com, who is very generous allowing our use.

          b.       There are also some HDRI’s that I made as well for your use as you see fit.

          c.       Sources of professional HDRI’s can be found from a number of sources and not limited by the list below

                    i.        Http://realtexture.com

                    ii.       Http://doschdesign.com

                    iii.      Http://debevec.org/Probes/

                    iv.      Http://luninance.londonmet.ac.uk/webhdr/

                    v.       Http://www.idruna.com

                    vi.      Http://www.anyhere.com

                    vii.     Http://www.debevec.org/HDRIShop

                    viii.    Http://www.lightworks_user.com/hdri_starter_collection (Note this collection will be seen and demonstrate in this course)

                    ix.      Http://www.hdristudio.com

 

12.     Now that we have some bases covered, lets have some fun in the next chapter and get into working with HDRI’s in trueSpace. See you there.